home *** CD-ROM | disk | FTP | other *** search
- Path: newsserver.rdcs.kodak.com!fietze
- From: fietze@kagcpd01.ag01.kodak.COM (Roman Fietze)
- Newsgroups: comp.sys.m68k
- Subject: Re: Interrupts
- Date: 28 Feb 1996 11:15:47 GMT
- Organization: Eastman Kodak Company
- Message-ID: <FIETZE.96Feb28121547@kagcpd01.ag01.kodak.COM>
- References: <DnGHC4.uw@ecf.toronto.edu>
- NNTP-Posting-Host: kagcpd01.ag01.kodak.com
- In-reply-to: huangs@ecf.toronto.edu's message of Tue, 27 Feb 1996 22:33:39 GMT
-
- In article <DnGHC4.uw@ecf.toronto.edu> huangs@ecf.toronto.edu (Jeff Cheung) writes:
-
- Does anyone have a sample program of how to setup interrupts for
- 68332 using C program?
-
- This all depends on the Compiler and the OS you use. Simply said you
- write the code address of your interrupt routine to the vector (adr =
- VBR + 4 * interrupt_no) and push and pop all registers used by your
- compiler/code before and after the ISR (maybe write some wrapper in
- assembly).
-
- Roman
- --
- Roman Fietze (Mail Code 5023) Kodak AG Stuttgart/Germany
- fietze@kagcpd01.ag01.kodak.COM fietze@kodak.COM
-